package com.linc.android.app.exit;

import android.app.Activity;
import android.os.Bundle;
import com.linc.android.app.WidgetDemoApplication;

public class BaseActivity extends Activity {
    
    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);

        //do something 
        WidgetDemoApplication.getInstance().addActivity(this);
    }   
    
    @Override
    protected void onDestroy() {
        super.onDestroy();
        WidgetDemoApplication.getInstance().removeActivity(this);
    }
}
